<%= form_for(@comp_evaluation) do |f| %>
    <% if @comp_evaluation.errors.any? %>
        <div class="fberrorbox" id="error_explanation">
          <h2><%= pluralize(@comp_evaluation.errors.count, "error") %> prohibited this company_evaluation from being saved:</h2>

          <ul>
            <% @comp_evaluation.errors.full_messages.each do |msg| %>
                <li><%= msg %></li>
            <% end %>
          </ul>
        </div>
    <% end %>


    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Personal Information</h2></div>

      <div class="field">
        <%= f.label :student_id, 'Student ID' %><br />
        <%= f.text_field :student_id %>
      </div>

      <div class="field">
        <%= f.label :student_name %><br />
        <%= f.text_field :student_name %>
      </div>

      <div class="field">
        <%= f.label :employer_name %><br />
        <%= f.text_field :employer_name %>
      </div>
      <div class="field">
        <%=  f.label :student_position %><br />
        <%= f.text_field :student_position %>
      </div>
      <div class="field">
        <%=  f.label :student_department %><br />
        <%= f.text_field :student_department %>
      </div>
    </div><br />

    <div class="fbblueboxlite">
      <div class="fbgreybox"><h2>Work Achievement</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :quantity_of_work, 'Quantity of Work' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:quantity_of_work, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quantity_of_work, 5) %>
        </td>
        </tr>


        <tr >
          <td>
            <%= f.label :quality_of_work, 'Quality of Work' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:quality_of_work, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:quality_of_work, 5) %>
        </td>

        </tr>
        <tr>
          <td>
            <%= f.label :academic_ability, 'Academic Ability' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:academic_ability, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:academic_ability, 5) %>
        </td>
        </tr>
      </table>
    </div>
    <br />

    <div class="fbblueboxlite">
      <div class="fbgreybox"><h2>Responsibility</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :responsibility, 'Responsibility and Dependability' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:responsibility, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:responsibility, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :interest_in_work, 'Interest in Work' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:interest_in_work, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interest_in_work, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :imitative, 'imitative of Self Starter' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:imitative, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:imitative, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :response_to_supervision, 'Response to Supervision' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:response_to_supervision, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:response_to_supervision, 5) %>
        </td>
        </tr>

      </table>
    </div>
    <br />

    <div class="fbblueboxlite">
      <div class="fbgreybox"><h2>Personality</h2></div>

      <table frame="void" rules="all">
        <tr>
          <th width="300" align="center">Items</th>
          <th width="100" align="center">Poor</th>
          <th width="100" align="center">Fair</th>
          <th width="100" align="center">Average</th>
          <th width="100" align="center">Very good</th>
          <th width="100" align="center">Excellent</th>
        </tr>

        <tr>
          <td>
            <%= f.label :personality, 'Personality' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:personality, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:personality, 5) %>
        </td>
        </tr>


        <tr >
          <td>
            <%= f.label :interpersonal_skills, 'Interpersonal Skills' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:interpersonal_skills, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skills, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skills, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skills, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:interpersonal_skills, 5) %>
        </td>

        </tr>
        <tr>
          <td>
            <%= f.label :discipline, 'Discipline and Adaptability to Formal Organization' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:discipline, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:discipline, 5) %>
        </td>
        </tr>

        <tr>
          <td>
            <%= f.label :ethics, 'Ethics and Morality' %><br />
          </td>
          <td style="text-align:center;">
            <%= f.radio_button(:ethics, 1) %>
          </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 2) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 3) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 4) %>
        </td><td style="text-align:center;">
          <%= f.radio_button(:ethics, 5) %>
        </td>
        </tr>

      </table>
    </div>
    <br />

    <div class="fbblueboxlite">

    <div class="fbgreybox"><h2>Company Evaluation</h2></div><p></p>

    <div class="fbgreybox"><h2>Understanding concept of Cooperative Education Project</h2></div>

    <table frame="void" rules="all">
      <tr>
        <th width="300" align="center">Items</th>
        <th width="100" align="center">Poor</th>
        <th width="100" align="center">Fair</th>
        <th width="100" align="center">Average</th>
        <th width="100" align="center">Very good</th>
        <th width="100" align="center">Excellent</th>
      </tr>

      <tr>
        <td>
          <%= f.label :x11, 'Executive' %><br />
        </td>
        <td style="text-align:center;">
          <%= f.radio_button(:x11, 1) %>
        </td><td style="text-align:center;">
        <%= f.radio_button(:x11, 2) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x11, 3) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x11, 4) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x11, 5) %>
      </td>
      </tr>


      <tr >
        <td>
          <%= f.label :x12, 'Staff' %><br />
        </td>
        <td style="text-align:center;">
          <%= f.radio_button(:x12, 1) %>
        </td><td style="text-align:center;">
        <%= f.radio_button(:x12, 2) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x12, 3) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x12, 4) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x12, 5) %>
      </td>

      </tr>
      <tr>
        <td>
          <%= f.label :x13, 'Job Supervisor' %><br />
        </td>
        <td style="text-align:center;">
          <%= f.radio_button(:x13, 1) %>
        </td><td style="text-align:center;">
        <%= f.radio_button(:x13, 2) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x13, 3) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x13, 4) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x13, 5) %>
      </td>
      </tr>
    </table>

    <div class="fbgreybox"><h2>Type of work for student</h2></div>

    <table frame="void" rules="all">
      <tr>
        <th width="300" align="center">Items</th>
        <th width="100" align="center">Poor</th>
        <th width="100" align="center">Fair</th>
        <th width="100" align="center">Average</th>
        <th width="100" align="center">Very good</th>
        <th width="100" align="center">Excellent</th>
      </tr>
      <tr>
        <td>
          <%= f.label :x21, 'Appropriate workload' %><br />
        </td>
        <td style="text-align:center;">
          <%= f.radio_button(:x21, 1) %>
        </td><td style="text-align:center;">
        <%= f.radio_button(:x21, 2) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x21, 3) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x21, 4) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x21, 5) %>
      </td>
      </tr>

      <tr>
        <td>
          <%= f.label :x22, 'Quality of work meets the characteristic of occupation' %><br />
        </td>
        <td style="text-align:center;">
          <%= f.radio_button(:x22, 1) %>
        </td><td style="text-align:center;">
        <%= f.radio_button(:x22, 2) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x22, 3) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x22, 4) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x22, 5) %>
      </td>
      </tr>

      <tr>
        <td>
          <%= f.label :x23, 'Job security is no risk or harm' %><br />
        </td>
        <td style="text-align:center;">
          <%= f.radio_button(:x23, 1) %>
        </td><td style="text-align:center;">
        <%= f.radio_button(:x23, 2) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x23, 3) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x23, 4) %>
      </td><td style="text-align:center;">
        <%= f.radio_button(:x23, 5) %>
      </td>
      </tr>
    </table>


    <div class="fbgreybox"><h2>Management and Supporting the work of Cooperative Education</h2></div>
    <table frame="void" rules="all">
    <tr>
      <th width="300" align="center">Items</th>
      <th width="100" align="center">Poor</th>
      <th width="100" align="center">Fair</th>
      <th width="100" align="center">Average</th>
      <th width="100" align="center">Very good</th>
      <th width="100" align="center">Excellent</th>
    </tr>

    <tr>
      <td>
        <%= f.label :x31, 'Coordination within the establishment. Between HR and Job Supervisor is effective' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x31, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x31, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x31, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x31, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x31, 5) %>
    </td>
    </tr>


    <tr>
      <td>
        <%= f.label :x32, 'HR / Parties. An orientation. Regulation of the organization to introduce students' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x32, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x32, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x32, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x32, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x32, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x33, 'A job Supervisor take care student in the first week of their work' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x33, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x33, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x33, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x33, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x33, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x34, 'A Job Supervisor have a knowledge and experience meets occupation of student' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x34, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x34, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x34, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x34, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x34, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x35, 'Job Supervisor time to the student in terms of performance' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x35, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x35, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x35, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x35, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x35, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x36, 'Job Supervisor easy task to teach students proper consultation' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x36, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x36, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x36, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x36, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x36, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x37, 'Planning of work for the duration of operations' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x37, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x37, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x37, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x37, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x37, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x38, 'Students ware rewarded appropriately' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x38, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x38, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x38, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x38, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x38, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x39, 'Welfare properly' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x39, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x39, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x39, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x39, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x39, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x310, 'The availability of equipment or tools' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x310, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x310, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x310, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x310, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x310, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x311, 'Emphasize the student daily report' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x311, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x311, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x311, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x311, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x311, 5) %>
    </td>
    </tr>

    <tr>
      <td>
        <%= f.label :x4, 'Overall quality of this company' %><br />
      </td>
      <td style="text-align:center;">
        <%= f.radio_button(:x4, 1) %>
      </td><td style="text-align:center;">
      <%= f.radio_button(:x4, 2) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x4, 3) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x4, 4) %>
    </td><td style="text-align:center;">
      <%= f.radio_button(:x4, 5) %>
    </td>
    </tr>

    </table>

    </div>
    <br />

    <div class="fbbluebox">
      <div class="fbgreybox"><h2>Other comment</h2></div>
      <div class="field">
        <%= f.label :other_comment %><br />
        <%= f.text_area :other_comment, :rows => "10", :cols => "80" %>
      </div>
    </div><br />


    <div class="fbgreyboxbuttom">
      <div class="actions">
        <%= f.submit %>
      </div>
    </div>
    <br />



<% end %>